package com.xmtlxx.oms.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



/**
 * 联系人视图对象 t_contacts
 *
 * @author xmtlxx
 * @date 2022-08-12
 */
@Data
@ApiModel("联系人视图对象")
@ExcelIgnoreUnannotated
public class ContactsVo {

    private static final long serialVersionUID = 1L;

    /**
     * 联系人ID
     */
    @ExcelProperty(value = "联系人ID")
    @ApiModelProperty("联系人ID")
    private String id;

    /**
     * 单位ID
     */
    @ExcelProperty(value = "单位ID")
    @ApiModelProperty("单位ID")
    private Long deptId;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    @ApiModelProperty("姓名")
    private String name;

    /**
     * 联系方式
     */
    @ExcelProperty(value = "联系方式")
    @ApiModelProperty("联系方式")
    private String tel;

    /**
     * 地址
     */
    @ExcelProperty(value = "地址")
    @ApiModelProperty("地址")
    private String address;

    /**
     * 默认
     */
    @ExcelProperty(value = "默认", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    @ApiModelProperty("默认")
    private String flag;

    /**
     * 经度
     */
    @ExcelProperty(value = "经度")
    @ApiModelProperty("经度")
    private String lng;

    /**
     * 纬度
     */
    @ExcelProperty(value = "纬度")
    @ApiModelProperty("纬度")
    private String lat;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    @ApiModelProperty("状态")
    private String status;

    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    private String delFlag;

    @ExcelProperty(value = "单位")
    @ApiModelProperty("单位")
    private String deptName;
}
